package org.zfes.snowier.zbss.xzy.biz.face.model;
import org.zfes.snowier.core.data.IBaseModel;
public class FaceAlertRecord extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public FaceAlertRecord() {}
	public FaceAlertRecord(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="上报设备不能为空")
	  private java.lang.Long deviceId;
	 @javax.validation.constraints.Digits(integer=8,fraction=2,message="识别值数据精度错误")  private java.lang.Double recoValue;
	  private java.lang.Long userId;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="用户名长度不能大于50")
	  private java.lang.String account;
	@org.hibernate.validator.constraints.Length(min=0,max=80,message="姓名长度不能大于80")
	  private java.lang.String perName;
	@org.hibernate.validator.constraints.Length(min=0,max=15,message="手机长度不能大于15")
	  private java.lang.String phone;
	@javax.validation.constraints.NotBlank(message="用户名不能为空")
	@javax.validation.constraints.NotNull(message="用户名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="用户名长度不能大于65,535")
	  private java.lang.String feature;
 
	
	//<-------------------------------------------->
	public FaceAlertRecord setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public FaceAlertRecord setRecoValue(java.lang.Double recoValue){
	 this.recoValue=recoValue;
	 return this;
	}
	public java.lang.Double getRecoValue(){
		return this.recoValue;
	}
	public FaceAlertRecord setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public FaceAlertRecord setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public FaceAlertRecord setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public FaceAlertRecord setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public FaceAlertRecord setAccount(java.lang.String account){
		this.account=account==null?null:account.trim();
	 return this;
	}
	public java.lang.String getAccount(){
		return this.account;
	}
	public FaceAlertRecord setPerName(java.lang.String perName){
		this.perName=perName==null?null:perName.trim();
	 return this;
	}
	public java.lang.String getPerName(){
		return this.perName;
	}
	public FaceAlertRecord setPhone(java.lang.String phone){
		this.phone=phone==null?null:phone.trim();
	 return this;
	}
	public java.lang.String getPhone(){
		return this.phone;
	}
	public FaceAlertRecord setFeature(java.lang.String feature){
		this.feature=feature==null?null:feature.trim();
	 return this;
	}
	public java.lang.String getFeature(){
		return this.feature;
	}

}
